﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;

namespace PeachLite.Entity
{
    /// <summary>
    /// 系统消息类
    /// </summary>
    public class SysMessage
    {
        /// <summary>
        /// 消息代码
        /// </summary>
        public int Code;

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Message;

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success;

        /// <summary>
        /// Url
        /// </summary>
        public string Url;

        /// <summary>
        /// 数据对象
        /// </summary>
        public object O;

        /// <summary>
        /// 构造函数
        /// </summary>
        public SysMessage()
        {
            Code = -1;
            Message = "";
            Success = false;
            Url = "";
            O = null;
        }
    }
}